package com.jeestudio.utils;

import java.util.Random;

/**
 * Created by shuttle on 18/12/12.
 */
public class MathRandomUtils {
    /**
     * 随机生成6位数字
     * @return
     */
    public static String genRandomPwd() {
        Random random = new Random();
        String result = "";
        for (int i = 0; i < 6; i++) {
            result += random.nextInt(10);
        }
        return result;
    }
}
